// filename: XProgressBar.h


#pragma once

#include "import_xcocos.h"
#include "import_cocos.h"
#include "XWidget.h"

namespace X
{
	class XCOCOS_API XProgressBar : public X::XWidget
	{
	public:
		CREATE_FUNC(XProgressBar)
		XProgressBar();

		virtual void update(float delta);
	private:
		//cocos2d::ui::Scale9Sprite m_sp
		cocos2d::Sprite* m_pSprBK;
		cocos2d::Sprite* m_pSprFG;
	};
}



